home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000244_news@columbia.edu _Sat Aug 24 21:34:13 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id VAA27331 for <kermit.misc@watsun.cc.columbia.edu>; Sat, 24 Aug 1996 21:34:13 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id VAA21489 for kermit.misc@watsun; Sat, 24 Aug 1996 21:34:12 -0400 (EDT)
  4. Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!newsfeed.internetmci.com!news.ac.net!news1.erols.com!newsmaster@erols.com
  5. From: "Richard W. Austin" <richard.w.austin@bell-atl.com>
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Sun Solaris to DEC VAX transfer problems
  8. Date: Sat, 24 Aug 1996 21:38:03 -0500
  9. Organization: Bell Atlantic
  10. Lines: 27
  11. Message-ID: <321FBC8B.751B@bell-atl.com>
  12. Reply-To: richard.w.austin@bell-atl.com
  13. NNTP-Posting-Host: col-as8s62.erols.com
  14. Mime-Version: 1.0
  15. Content-Type: text/plain; charset=us-ascii
  16. Content-Transfer-Encoding: 7bit
  17. X-Mailer: Mozilla 3.0b6Gold (Win95; I)
  18.  
  19. I have got an "expect" script that I am using to send a file from my
  20. local Sun Solaris machine to a DEC VAX.  The expect script is wrapped
  21. inside a shell script that will redial the connection up to three times
  22. if it could not connect previously.
  23.  
  24. The expect script logs into the VAX fine, but then the problems begin.
  25. Once connected to the VAX, the expect script starts receiving garbage
  26. from the remote end (I'm guessing that the VAX is probing to find out
  27. the local terminal type).  I get around this by sending a few
  28. carriage-returns and waiting for the "$" prompt.
  29.  
  30. I then start Kermit and set the escape sequence to "set escape 005".  I
  31. then do a "receive <filename>" and then try to escape back to the local
  32. session to "send" the file.  I can never escape back to do the "send",
  33. which is my problem. I send the escape in expect as:
  34.  
  35. send "\005c"
  36.  
  37. However it just doesn't seem to cut it.  This exact script works
  38. properly when I send data to another Unix machine (HP) and to the IBM
  39. mainframe.
  40.  
  41. Any clues, comments, and/or suggestions would be appreciated.
  42.  
  43. Thanks,
  44. Rick
  45. richard.w.austin@bell-atl.com, raustin@erols.com